<!--
 * @Description  : 
 * @Version      : 1.0
 * @Author       : Shiming
 * @Date         : 2022-04-28 20:27:08
 * @LastEditors  : Shiming
 * @LastEditTime : 2022-05-11 14:44:15
 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\partner\\partner-list\\components\\channel-log-modal\\channel-log-modal.component.html
 * Copyright (C) 2022 huzhenhong. All rights reserved.
-->
<div class="bbod">
    <h2>转移客户数：{{ changeST?.list?.length }}</h2>
<st
  #changeST
  [data]="service.$api_get_partner_change_list"
  [columns]="columns.changeColumn"
  [req]="{ params: { id: id, type: 1 } }"
  [res]="{ reName: { list: 'data' } }"
  [loading]="service.http.loading"
  bordered
  size="small"
  [page]="{ show: false }"
  [scroll]="{ x: '750px' }"
>
<ng-template st-row="crmStatus" let-item let-index="index" let-column="column">
    <div *ngIf="item.crmStatus == '0'">未发起</div>
    <div *ngIf="item.crmStatus == '10'">待审核</div>
    <div *ngIf="item.crmStatus == '20'">审核通过</div>
    <div *ngIf="item.crmStatus == '30'">驳回</div>
  </ng-template>
</st>
<h2>不转移客户数：{{ noChangeST?.list?.length }}</h2>
<st
  #noChangeST
  [data]="service.$api_get_partner_change_list"
  [columns]="columns.beChangeColumn"
  [req]="{ params: { id: id, type: 2 } }"
  [res]="{ reName: { list: 'data' } }"
  [loading]="service.http.loading"
  bordered
  size="small"
  [page]="{ show: false }"
  [scroll]="{ x: '750px' }"
>
</st>
<p>
  客户转移：客户跟着上级合伙人转移一并到新渠道销售下，会同步发起CRM《客户转移》流程；不转移的，客户会与上级合伙人解绑，修改成功后，修改时间也是合伙人与客户的结算结束时间，成为原来渠道销售的直客。
</p>
</div>
